Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
False Positives Fixed
invalid-name
now allows for integers intypealias
names:Good2Name
,GoodName2
._1BadName
.Closes invalid-name check for TypeAlias should allow for digits in names #8485 (
#8485 <https://github.com/PyCQA/pylint/issues/8485>
_)No longer consider
Union
as type annotation as type alias for namingchecks.
Closes
invalid-name
type alias false-positive for union values #8487 (#8487 <https://github.com/PyCQA/pylint/issues/8487>
_)unnecessary-lambda
no longer warns on lambdas which use its parameters intheir body (other than the final arguments), e.g.
lambda foo: (bar if foo else baz)(foo)
.Closes
unnecessary-lambda
false positive if parameter is used in lambda body #8496 (#8496 <https://github.com/PyCQA/pylint/issues/8496>
_)Other Bug Fixes
Fix a crash in pyreverse when "/" characters are used in the output filename
e.g pyreverse -o png -p name/ path/to/project.
Closes [pyreverse] Setting the project name with a "/" at the end crashes pyreverse #8504 (
#8504 <https://github.com/PyCQA/pylint/issues/8504>
_)